package _nio._socket._nio;

/**
 * @Author: huangya
 * @Date: 2020/5/31
 * @Description:
 */
public class NioTimeServer {


    public static void main(String[] args) {
        int port = 8080;
        if(args!=null && args.length>0){
            try {
                port = Integer.parseInt(args[0]);
            }catch (Exception e){

            }
        }

        MutiplexerTimeServer mutiplexerTimeServer = new MutiplexerTimeServer(port);
        new Thread(mutiplexerTimeServer, "NIO-001").start();
    }

}
